using System;

namespace MetaObjects.Core
{
	public class DataTableAttribute : Attribute
	{
		public string InternalName { get; private set; }
		public Func<object> Factory { get; private set; }

		public DataTableAttribute(string internalName, Func<object> factory)
		{
			InternalName = internalName;
			Factory = factory;
		}
	}
}